package fs.tileMap.data {
	/**
	 * ...
	 * @author flyingSnow
	 */
	public class CollisionData extends MapData {
		
		public function CollisionData(width:int, height:int, initValue:int = 0) {
			super(width, height, initValue);			
		}
		//{ region 公有函数
		public function hitTest(x:int,y:int,direction:int):Boolean {
			if (_dataArray[x * _height + y] && direction != 0) {
				return true;
			}
			return false;
		}		
		//} endregion
		
	}

}